src1=logger_test.cpp
bin1=logger_test.out
src2=logger_async_test.cpp
bin2=logger_async_test.out

all: $(bin1) $(bin2)

$(bin1): $(src1)
	g++ -o $(bin1) $(src1) -I../../include -g -std=c++14

$(bin2): $(src2)
	g++ -o $(bin2) $(src2) -I../../include -g -std=c++14 -pthread

.PHONY: clean clean-log
clean:
	rm -f $(bin1) $(bin2)
clean-log:
	rm -f *.log; rm -rf ./logs/